package com.design.mode.obsever;

public class Client {
	public static void main(String[] args) {
		Observer1 observer1=new Observer1();
		Observed observed=new Observed();
		observed.addObserver(observer1);
		try {
			observed.notifyChange(10);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}

	}

}
